From 89164e3f7b2db55ff239720a1deec8ad62ea2ab7 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Thu, 20 Aug 2009 08:25:41 +0100 Subject: [PATCH] xend: Fix error caused by VT-d ACS patch. Signed-off-by: Allen Kay --- tools/python/xen/util/pci.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/xen/util/pci.py b/tools/python/xen/util/pci.py index 62bede17d4..db37597cd8 100644 --- a/tools/python/xen/util/pci.py +++ b/tools/python/xen/util/pci.py @@ -1003,7 +1003,7 @@ class PciDevice: if pos != 0: ctrl = self.pci_conf_read16(pos + PCI_EXT_ACS_CTRL) if (ctrl & PCI_EXT_CAP_ACS_ENABLED) == \ - PCI_EXT_CAP_ACS_ENABLED + (PCI_EXT_CAP_ACS_ENABLED): self.acs_enabled = True else: if pos != 0: -- 2.30.2